import http from './http'
export async function free (url: string) {
    return http.get(url).then(res => { return res.data.data })
}
export const Dayselection = http.get('https://apis.netstart.cn/xpc/home/recommend').then(res => { return res.data.data.children })
export const Detal = http.get('https://apis.netstart.cn/xpc/home/recommend').then(res => { return res.data.data.children })
export async function MidList() {
    return http.get('https://apis.netstart.cn/xpc//home/mustSee').then(res => { return res.data.data })
}
export async function Rescover() {
    return await http.get('https://apis.netstart.cn/xpc/home/cateRecommend?channel=home_channel_plot&cateName=剧情短片').then(res => { return res.data.data })
}